package cn.zxd.test.dao;

import cn.zxd.test.vo.*;

import java.util.Map;
import java.util.List;

/**
 * Created by DaoCreator (daoInterface.jt)
 */
public interface ComputerDao {
//#appendbegin
    //==============Computer==============
    public void insertComputer(Computer vo);
    public void updateComputer(Computer vo);

    public void deleteComputer(Computer vo);
    public void deleteComputerByPrimaryKey(String sn );
    public void deleteComputerByParam(Object... param);
    public void deleteComputerByParam(Map<String, Object> param);

    public Computer getComputerByPrimaryKey(String sn );
    
    public int getComputerCountByPrimaryKey(String sn );
    public int getComputerCountByParam(Object... param);
    public int getComputerCountByParam(Map<String, Object> param);

    public List<Computer> getComputerListByParam(Object... param);
    public List<Computer> getComputerListByParam(int page, int count, Object... param);
    public List<Computer> getComputerListByParam(Map<String, Object> param);
    public List<Computer> getComputerListByParam(Map<String, Object> param, int page, int count);
    public List<Computer> getAllComputerList();	
    //==============end of Computer==============	
//#appendend   
}
